package com.macw.ww_system.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 附件
 * </p>
 *
 * @author Macw
 * @since 2020-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CmsAttachment对象", description="附件")
public class CmsAttachment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private String attachId;

    @ApiModelProperty(value = "组ID")
    private String zid;

    private String userId;

    @ApiModelProperty(value = "文件类型，引用cms_filetype表ID")
    private String fileType;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "相对路径")
    private String filePath;

    @ApiModelProperty(value = "url")
    private String fileUrl;

    @ApiModelProperty(value = "文件空间")
    private Integer size;

    @ApiModelProperty(value = "用户ID")
    private String createBy;

    private LocalDateTime createTime;

    @ApiModelProperty(value = "排序")
    private Integer sort;


}
